GtkThemingEngine: Use square cap for solid frames.
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 8 Nov 2010 19:15:19 +0000 (20:15 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Sat, 4 Dec 2010 14:38:47 +0000 (15:38 +0100)
gtk/gtkthemingengine.c

index 42ef073f3bd1fefc4645be35e1c68a24138e9b67..a2cd214bec3cad74873d135133bcc06bdb8ecb50 100644 (file)
@@ -1654,6 +1654,7 @@ gtk_theming_engine_render_frame (GtkThemingEngine *engine,
           break;
         case GTK_BORDER_STYLE_SOLID:
           cairo_set_line_width (cr, border_width);
+          cairo_set_line_cap (cr, CAIRO_LINE_CAP_SQUARE);
 
           if (border_width > 1)
             {